package STUDENT.PHAMHONGSON;

class Person{
	String name;
	int age;
	void sayhello()
	{System.out.print("Xin chao ten toi la ");}
	void sayage(){System.out.print("Tuoi cua toi la ");}
	
}
public class Test {
	
   public static void main(String[] agrs){
	   
	   
	   Person Person1 = new Person();
	   Person1.age=24;
	   Person1.name="Pham Hong Son";
	   Person1.sayhello();
	   System.out.println(Person1.name);
	   Person1.sayage();
	   System.out.println(Person1.age);
	   //in ra ten va tuoi cua person1
	   int a=1000;
	   int b=a++;
	   int c = 100;
	   int d=++c;
	   //so sanh giua ++ tien to va hau to
	   
	  
   }
	
}
